// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:00

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   kx.java

package com.zelix;

import java.util.Enumeration;
import java.util.Hashtable;

// Referenced classes of package com.zelix:
//            px, fy, ly, my, 
//            hs

public class kx
{

    private fy a;

    public kx()
    {
    }

    public void a(Hashtable hashtable, fy fy1)
    {
        int i = hs.c;
        if(a != null) goto _L2; else goto _L1
_L1:
        a = (fy)fy1.clone();
        if(i == 0) goto _L3; else goto _L2
_L2:
        Object obj;
        Enumeration enumeration;
        if(hashtable == null || hashtable.size() <= 0)
            break MISSING_BLOCK_LABEL_134;
        obj = new fy();
        enumeration = a.d();
        if(i == 0) goto _L5; else goto _L4
_L4:
        Object obj2 = enumeration.nextElement();
        Hashtable hashtable2 = a.b(obj2);
        Object obj3 = hashtable.get(obj2);
        if(obj3 != null)
        {
            Hashtable hashtable5 = ((fy) (obj)).a(obj3, hashtable2);
            if(i == 0)
                continue; /* Loop/switch isn't completed */
        }
        Hashtable hashtable6 = ((fy) (obj)).a(obj2, hashtable2);
_L5:
        if(enumeration.hasMoreElements()) goto _L4; else goto _L6
_L6:
        a = ((fy) (obj));
        if(fy1 == null || fy1.f() <= 0) goto _L3; else goto _L7
_L7:
        obj = fy1.d();
        if(i == 0) goto _L9; else goto _L8
_L8:
        Object obj1 = ((Enumeration) (obj)).nextElement();
        Hashtable hashtable1 = fy1.b(obj1);
        Hashtable hashtable3 = a.b(obj1);
        if(hashtable3 != null)
        {
            a.a(obj1, a(hashtable3, hashtable1));
            if(i == 0)
                continue; /* Loop/switch isn't completed */
        }
        Hashtable hashtable4 = a.a(obj1, hashtable1);
_L9:
        if(((Enumeration) (obj)).hasMoreElements()) goto _L8; else goto _L3
_L3:
    }

    public void a()
    {
        if(a != null)
            a.a();
    }

    public ly a(Object obj)
    {
        if(a == null)
            return null;
        Hashtable hashtable = a.b(obj);
        if(hashtable != null)
            return new ly(hashtable);
        else
            return null;
    }

    public my b()
    {
        if(a == null)
            return null;
        else
            return new my(a);
    }

    private Hashtable a(Hashtable hashtable, Hashtable hashtable1)
    {
        int i = hs.c;
        if(hashtable1.size() <= 0) goto _L2; else goto _L1
_L1:
        Hashtable hashtable2;
        Enumeration enumeration;
        hashtable2 = new Hashtable(px.a(hashtable.size()));
        enumeration = hashtable.keys();
        if(i == 0) goto _L4; else goto _L3
_L3:
        Object obj = enumeration.nextElement();
        Object obj1 = hashtable.get(obj);
        Object obj3 = hashtable2.put(obj1, obj);
_L4:
        if(enumeration.hasMoreElements()) goto _L3; else goto _L5
_L5:
        Enumeration enumeration1 = hashtable1.keys();
        if(i == 0) goto _L7; else goto _L6
_L6:
        Object obj2 = enumeration1.nextElement();
        Object obj4 = hashtable1.get(obj2);
        Object obj5 = hashtable2.get(obj2);
        if(obj5 != null)
        {
            Object obj6 = hashtable.put(obj5, obj4);
            if(i == 0)
                continue; /* Loop/switch isn't completed */
        }
        Object obj7 = hashtable.put(obj2, obj4);
_L7:
        if(enumeration1.hasMoreElements()) goto _L6; else goto _L2
_L2:
        return hashtable;
    }

    public Object b(Object obj)
    {
        if(a == null)
            return null;
        else
            return a.c(obj);
    }

    public Object a(Object obj, Object obj1)
    {
        if(a == null)
            return null;
        Hashtable hashtable = a.b(obj);
        if(hashtable != null)
            return hashtable.remove(obj1);
        else
            return null;
    }
}